package cn.script.game.prof;

import cn.script.domain.Skill;

import java.util.ArrayList;
import java.util.List;

/**
 * 职业信息
 *
 * @author 周永波
 */
public class Pi {

    private String name;

    private List<Skill> skills = new ArrayList<Skill>();

    public Pi(String name) {
        this.name = name;
    }

    public Pi addSkill(Skill skill) {
        this.skills.add(skill);
        return this;
    }

    public List<Skill> skills() {
        return this.skills;
    }
}
